// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.ast.statement.SQLDropStatement;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

#include "OracleDropDbLinkStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/OracleASTVisitor.h"

BOOL_ptr OracleDropDbLinkStatement::isPublic()
{
  return isPublic_;
}

void OracleDropDbLinkStatement::setPublic(BOOL_ptr value)
{
  this->isPublic_ = value;
}

SQLName_ptr OracleDropDbLinkStatement::getName()
{
  return name;
}

void OracleDropDbLinkStatement::setName(SQLName_ptr name)
{
  this->name = name;
}

// @Override
void OracleDropDbLinkStatement::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleDropDbLinkStatement)))
  {
    acceptChild(visitor, name);
  }
  visitor->endVisit(SharedObject(OracleDropDbLinkStatement));
}
